﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = AuxiliaryAccumulators
		Size                           = Medium
		Module                         = ovostec-gpc7000 medium auxiliary accumulator
		CpuUsage                       = 36.00 TF
		ReactorUsage                   = 70.00 RP
		Type                           = Passive
		Slot                           = Legs
		TechnologicalLevel             = T2
		Mass                           = 450.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorCapacity            = 375 AP
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Ovostec-gpc7000 medium auxiliary accumulator module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:54</remarks>
    public sealed class OvostecGpc7000MediumAuxiliaryAccumulator : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="OvostecGpc7000MediumAuxiliaryAccumulator"/> class.
        /// </summary>
        public OvostecGpc7000MediumAuxiliaryAccumulator()
            : base(
            "Ovostec-gpc7000 medium auxiliary accumulator",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.AuxiliaryAccumulators,
            TechnologyLevelsEnum.Level2,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),36.00),
				new LazyFeature(typeof(ReactorUsage<double>),70.00),
				new LazyFeature(typeof(ModuleMass<double>),450.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 450.00 ){ IsVisible = false },
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.AccumulatorCapacity, 375 ){ Unit = UnitsEnum.AccumulatorPoints, DisplayName = "Accumulator capacity"  }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}